<?php

namespace App\Http\Controllers\Admin;

use Illuminate\Http\Request;

use App\Http\Requests;
use App\Http\Controllers\Controller;

class ServeController extends Controller
{
    /**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
    public function getIndex()
    {
        $data = array();
        return view("admin.serve.index",$data);
    }

    /**
     * Show the form for creating a new resource.
     *
     * @return \Illuminate\Http\Response
     */
    public function postSave(Request $request)
    {
        $count = $_FILES['imgs']['name'];

        for($i = 0; $i < $count; $i++) {
            
        }

        dd($_FILES['imgs']);
        //
    }

}
